package com.xzd.common.style.excel;

import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFFont;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

public abstract class HSSFCustomStyle {
	protected HSSFCellStyle mainTitleCellStyle;			//主标题行样式
	protected HSSFCellStyle twoLevelTitleCellStyle;		//二级标题行样式
	protected HSSFCellStyle threeLevelTitleCellStyle;	//三级标题行样式
	protected HSSFCellStyle gridTitleCellStyle;			//网格标题行样式
	protected HSSFCellStyle gridContentCellStyle;		//网格内容行样式
	
	protected HSSFFont mainTitleFont;			//主标题行字体样式
	protected HSSFFont twoLevelTitleFont;		//二级标题行字体样式
	protected HSSFFont threeLevelTitleFont;		//三级标题行字体样式
	protected HSSFFont gridTitleFont;			//网格标题行字体样式
	protected HSSFFont gridContentFont;			//网格内容行字体样式
	
	protected HSSFWorkbook wb;

	public void setWb(HSSFWorkbook wb) {
		this.wb = wb;
	}
	
	public abstract HSSFCellStyle getMainTitleCellStyle();

	public void setMainTitleCellStyle(HSSFCellStyle mainTitleCellStyle) {
		this.mainTitleCellStyle = mainTitleCellStyle;
	}

	public abstract HSSFCellStyle getTwoLevelTitleCellStyle();

	public void setTwoLevelTitleCellStyle(HSSFCellStyle twoLevelTitleCellStyle) {
		this.twoLevelTitleCellStyle = twoLevelTitleCellStyle;
	}

	public abstract HSSFCellStyle getThreeLevelTitleCellStyle();

	public void setThreeLevelTitleCellStyle(HSSFCellStyle threeLevelTitleCellStyle) {
		this.threeLevelTitleCellStyle = threeLevelTitleCellStyle;
	}

	public abstract HSSFCellStyle getGridTitleCellStyle();

	public void setGridTitleCellStyle(HSSFCellStyle gridTitleCellStyle) {
		this.gridTitleCellStyle = gridTitleCellStyle;
	}

	public abstract HSSFCellStyle getGridContentCellStyle();

	public void setGridContentCellStyle(HSSFCellStyle gridContentCellStyle) {
		this.gridContentCellStyle = gridContentCellStyle;
	}
	
	
}
